import request from "@/utils/request";
const URL = '/approval'

export function updateApproval(form,id){
    console.log(form)
    return request({
        method:'post',
        url: URL+'/'+id,
        data: form
    })
}

export function getApproval(id){
    return request({
        method:'get',
        url: URL+'/'+id,
    })
}